package in.animeshpathak.appic;

/** constants used by the app*/
public class Constants {
	
	public static final String HOME_ACTIVITY_LOGTAG = "AP-Pic-Home";
	public static final String SETTINGS_ACTIVITY_LOGTAG = "AP-Pic-Settings";
	
	//reqeustID for pick image
	public static final int PICK_IMAGE_REQUEST = 0;

	//upper limit of file which can be uploaded. 1MB
	public static final long MAX_SIZE_BYTES = 1024*1024 ;

	//The keys used while storing the state
	public static final String TITLE_KEY = "title";
	public static final String IMAGE_PATH_STRING_KEY = "image_path_string";
	public static final String IMAGE_PATH_URI_KEY = "image_path_uri";
	public static final String IMAGE_THUMB_URI_KEY = "image_thumb_uri";

	public static final String PREFS_NAME = "AP-Pic Prefs";
	public static final String APIURL_PREFS_KEY = "api_url";
	public static final String APIUNAME_PREFS_KEY = "api_uname";
	public static final String APIPASS_PREFS_KEY = "api_password";

	public static final String APIURL_FORM_KEY = "api_url_form";
	public static final String APIUNAME_FORM_KEY = "api_uname_form";
	public static final String APIPASS_FORM_KEY = "api_password_form";
	public static final String IMAGE_PART_NAME = "image";
	public static final String TITLE_PART_NAME = "title";
	public static final String UNAME_PART_NAME = "email";
	public static final String PASSWORD_PART_NAME = "apipass";
	
}
